package com.example.ping.controller;

import com.example.ping.service.PingService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Jim
 * @create 2025/1/13
 */
@RestController
@Slf4j
public class PingController {

    @Autowired
    private PingService pingService;



    @GetMapping("/sendPing")
    public void sendPing() {
        pingService.sendPing();
    }
}
